#!/usr/bin/python3
"""
    ----coding:utf-8----
    @Author   : sobo
    @Time     : 2018/3/29 上午10:04
    @Software : 
    @File     : forms.py

"""
from .models import Order
from django import forms


class OrderCreateForm(forms.ModelForm):
    class Meta:
        model = Order
        fields = ['name', 'phone', 'email', 'address', 'postal_code', 'city']
